﻿

	
		<div class="formPanel">

            <form method="post" action="#{ActionLink}" class="ajaxPostForm">

            	<table id="pageCategory" style="width: 98%;" cellpadding="7" cellspacing="0">
                    
            		<tr>
            			<td style="width:80px;">_{name}</td>
            			<td><input type="text" name="Name" value="" style="width:150px;" /></td>
            		</tr>
            		<tr>
            			<td style="vertical-align:top;">_{description}</td>
            			<td><textarea cols="20" name="Description" style="width:98%;height:80px;"></textarea></td>
            		</tr>
            		
            		<tr>
            		    <td style="vertical-align:top;">wiki 开放状态</td>
            		    <td>#{OpenStatus}</td>
            		</tr>
                    
                    <tr id="editorPanel" class="hide" style="background:#ffe45c;">
                        <td style="vertical-align:top;">受邀用户</td>
                        <td>
                            <div id=""><textarea name="userList" id="txtUserList" style="width:98%; height:50px;"></textarea></div>
                            <div class="note">多个用户之间用逗号分隔</div>
                        </td>
                    </tr>                    
            		
            		<tr>
            		    <td>wiki 统计信息</td>
            		    <td><label><input name="IsShowWiki" id="Checkbox1" type="checkbox" /> 显示词条统计信息</label>
                            </td>
            		</tr>
                    
            		<tr>
            			<td>Logo网址</td>
            			<td><input type="text" name="Logo" value="" style="width:450px;" /></td>
            		</tr>        
                    
            		<tr>
                    <td></td><td><input type="submit" value="_{addPageTopic}" class="btn" /> 
                    <input type="button" value="_{return}" class="btnReturn" /></td>
            		</tr>
            	</table>
            </form>

		</div>
		


<script>
_run( function() {


    $('#OpenStatus2').click( function() {
        $('#editorPanel').show();
    });
    
    $('#OpenStatus0').click( function() {
        $('#editorPanel').hide();
    });

    $('#OpenStatus1').click( function() {
        $('#editorPanel').hide();
    });
       
});
</script>